#ifndef CUBE_LOGOSTATE_H_
#define CUBE_LOGOSTATE_H_

class LogoState : public GameState
{
public :
	LogoState();
	~LogoState(){}

	void				ChangeState( GameState** currentState, eGameMode nextState );
	bool				Initialize( void* info = NULL );
	LRESULT				MessageHandler( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam );
	void				Run( GameState** currentState, float time );
	void				Release();

private :
	DWORD				_alpha;
	bool				_hold;
	float				_holdForThisTime;
	bool				_isFadeOut;
	D3DXVECTOR3			_logoPos;
	float				_timeOffset;
	float				_totalFadeTime;
	LPD3DXSPRITE		_pSprite;
	LPDIRECT3DTEXTURE9	_pLogoTexture;
};

#endif